Java Multithreading Interview Questions and Answers
Question: How do you create a thread in Java?Answer: You can create a thread by extending the Thread class or implementing the Runnable interface.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users: